package cshi.thread.FutureImpl;

import java.util.concurrent.Future;

//A Future that accepts one or more listeners that will be executed asynchronously.
public interface ListenableFuture<T, L extends GenericCompletionListener> extends Future<T> {
	Future<T> addListener(L listener);
	Future<T> removeListener(L listener);
}
